unit dbcComp_Fnc;
// Database Comparer VCL v.3.0
// Copyright (C) 1998-2006, by Boris Loboda
// www.CleverComponents.com
{$I Comparer.INC}

interface

Uses SysUtils, Classes, dbcTypes, dbcClasses, dbcComp_Tbl;

type
  TUdfData = class(TDbObj)
  public
    PrmList: TStringList;
    RtnFld: TFldData;
    EntryPoint: String;
    ModuleName: String;
    FreeIt: Boolean;
    constructor Create(aObjs: TCustomObjs);
    destructor Destroy; override;
    function Def: String; override;
    procedure DoBeforeDrop(); override;
    procedure DoAfterDrop(); override;
  end;

Procedure GenScriptUdfCreate(MObj, TObj: TCustomObjs; SQLExec: TCustomSQLExec; CompareObjects: TCmpObjSetType);
Procedure GenScriptUdfAlter(dbc: TCustomDBComparer);
Procedure GenScriptUdfDrop(MObj, TObj: TCustomObjs; SQLExec: TCustomSQLExec; CompareObjects: TCmpObjSetType);

implementation

//The full source code is available on purchasing the product

end.
